package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.server.pojo.Position;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 */
public interface PositionMapper extends BaseMapper<Position> {

    List<Position> selectPositionAll();

    int deletePositionById(Integer id);

    int deletePositionByIds(@Param("array") Integer[] ids);

    int insertPosition(Position position);

    int updatePosition(Position position);
}
